/******************** start  *  覆盖button圆角 *******************/
.el-button {
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  height: 40px;
  min-width: 40px;

  &.el-button--text {
    height: auto !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }


  &.is-plain {
    padding: 10px 16px;

    &.el-button [class*="el-icon-"],
    &.el-button [class*="iconfont"] {
      vertical-align: middle;
      & + span {
        margin-left: 10px;
        vertical-align: middle;
      }
    }
  }

  &.el-button--medium {
    padding: 10px 16px;
    border-radius: 8px;
    height: 36px;
    min-width: 36px;

    &.is-plain {
      padding: 10px 14px;

      &.el-button [class*="el-icon-"],
      &.el-button [class*="iconfont"] {
        vertical-align: middle;
        & + span {
          margin-left: 8px;
          vertical-align: middle;
        }
      }
    }
  }

  &.el-button--small {
    padding: 9px 12px;
    border-radius: 6px;
    height: 32px;
    min-width: 32px;

    &.is-plain {
      padding: 9px 10px;

      &.el-button [class*="el-icon-"],
      &.el-button [class*="iconfont"] {
        vertical-align: middle;
        & + span {
          margin-left: 6px;
          vertical-align: middle;
        }
      }
    }
  }

  &.el-button--mini {
    padding: 7px 10px;
    border-radius: 4px;
    height: 28px;
    min-width: 28px;

    &.is-plain {
      padding: 7px 7px;

      &.el-button [class*="el-icon-"],
      &.el-button [class*="iconfont"] {
        vertical-align: middle;
        & + span {
          margin-left: 4px;
          vertical-align: middle;
        }
      }
    }
  }
}
/******************** end  *  覆盖button圆角 *******************/

/******************** start  *  覆盖date-editor圆角 *******************/
.el-date-editor.el-input__inner {
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);

  &.el-range-editor--large {
    border-radius: 8px;
  }

  &.el-range-editor--medium {
    border-radius: 8px;
  }

  &.el-range-editor--small {
    border-radius: 6px;
  }

  &.el-range-editor--mini {
    border-radius: 4px;
  }
}
/******************** end  *  覆盖date-editor圆角 *******************/

/******************** start  *  覆盖date-upload圆角 *******************/
.el-upload.el-upload--picture-card,
.el-upload-dragger {
  border-radius: 8px;
}
/******************** end  *  覆盖date-upload圆角 *******************/

/******************** start  *  覆盖transfer *******************/
.el-transfer {
  .el-transfer-panel
    .el-transfer-panel__header
    .el-checkbox
    .el-checkbox__label {
    font-size: 14px;
  }
  .el-transfer-panel__item.el-checkbox {
    margin-right: 0;
  }
  .el-transfer__buttons {
    button {
      padding: 8px;
    }
    .el-transfer__button:first-child {
      display: block;
    }
    .el-button + .el-button {
      margin-left: 0;
    }
  }
}
/******************** end  *  覆盖transfer *******************/

/******************** start  *  覆盖table *******************/
.el-table {
  &::before {
    height: 0;
  }
  .cell {
    line-height: 18px;
  }
  td,
  th {
    padding: 11px 0;
    font-size: 13px;
  }
}
/******************** end  *  覆盖talbe *******************/

/******************** start  *  覆盖pagination*******************/
.el-pagination {
  margin-top: 20px;
  text-align: right;
  li.active, li:hover {
    color: #0DC26B !important;
  }
}
.el-pagination {
  button,
  span:not([class*="suffix"]) {
    font-size: 12px;
  }
  .el-pagination__total {
    margin-right: 15px;
  }
  .btn-prev,
  .btn-next {
    padding: 0 8px;
    min-width: 0;
  }
  .el-pager {
    margin: 0 4px;
    li {
      min-width: 28px;
      padding: 0 4px;
    }
  }
  .el-pagination__editor.el-input {
    width: 40px;
  }
  .el-pagination__sizes {
    margin-right: 40px;
  }
  .el-pagination__jump {
    margin-left: 20px;
  }
  .el-select .el-input {
    width: 90px;
    margin: 0;
  }
}
/******************** end  *  覆盖pagination *******************/

/******************** start  *  覆盖tag*******************/
.el-tag.el_tag-radius {
  border-radius: 25px;
  border: none;
}
/******************** end  *  覆盖tag *******************/

/******************** start  *  覆盖collapse*******************/
.el-collapse {
  border: none;
  .el-collapse-item__header {
    padding: 0 20px;
    border: none;
  }
  .el-collapse-item__wrap {
    border: none;
  }
  .el-collapse-item__content {
    padding: 14px 16px;
  }
}
/******************** end  *  覆盖collapse *******************/

/******************** start  *  覆盖alert*******************/
.el-alert {
  border-radius: 6px;
}
/******************** end  *  覆盖alert *******************/

/******************** start  *  覆盖message*******************/
.el-message {
  border-radius: 8px;
  min-width: 240px;
}
/******************** end  *  覆盖message *******************/

/******************** start  *  覆盖el-dialog *******************/
.el-dialog__wrapper {
  .el-dialog {
    width: auto;
    min-width: 30%;
    max-width: 1080px;
    border-radius: 9px;
    .el-dialog__header {
      border-radius: 8px 8px 0 0;
      background-color: #1990FE;
      color: white;
    }
    .el-dialog__footer {
      border-radius: 0 0 8px 8px;
    }
  }
}
/******************** end  *  覆盖el-dialog *******************/

/******************** start  *  覆盖el-message-box *******************/
.el-message-box {
  border-radius: 8px;
  min-width: 420px;
  max-width: 1080px;
  width: auto;
}
/******************** end  *  覆盖el-message-box *******************/

/******************** start  *  覆盖el-popper *******************/
.el-popper {
  border-radius: 8px;
  padding: 6px 10px;
  min-width: 60px;
}
/******************** end  *  覆盖el-popper *******************/

/******************** start  *  覆盖el-popconfirm *******************/
.el-popconfirm {
  padding: 12px 16px;
  border-radius: 8px;
  .el-popconfirm__main {
    margin-bottom: 10px;
  }
}
/******************** end  *  覆盖el-popper *******************/

/******************** start  *  覆盖el-switch *******************/
.el-switch {
  //height: 14px;
  //width: 32px;
  //line-height: 1;
  //.el-switch__core {
  //  width: 20px !important;
  //  margin-left: 6px;
  //  height: 4px;
  //  border-radius: 4px;
  //  border: none;
  //  &:after {
  //    top: -5px;
  //    left: -6px;
  //    width: 14px;
  //    height: 14px;
  //  }
  //}
  //&.is-checked .el-switch__core::after {
  //  left: 12px;
  //  margin-left: 0;
  //  box-shadow: 0px 1px 4px rgba(36, 96, 242, 0.3);
  //}
}
/******************** end  *  覆盖el-switch *******************/

/******************** start  *  覆盖el-switch *******************/
.el-form {
  .el-select,
  .el-cascader,
  .el-date-editor--daterange {
    width: 100%;
  }
}
.el-date-editor--daterange .el-range-separator {
  min-width: 20px;
}
/******************** end  *  覆盖el-switch *******************/

/******************** start  *  覆盖el-scrollbar *******************/
.common_scrollbar {
  width: 100%;
  height: 100%;
}
.common_scrollbar /deep/ .el-scrollbar__wrap {
  overflow-x: hidden;
  margin-bottom: 0 !important;
}
/******************** end  *  覆盖el-scrollbar *******************/
